import { User } from '../user.entity';

export class UserDto {
  uuid: string;

  readonly roles: string;

  readonly username: string;

  readonly password: string;

  constructor(user: User) {
    this.uuid = user.uuid;
    this.roles = user.roles;
    this.username = user.username;
    this.password = user.password;
  }
}
